﻿using System;
using System.Collections.Generic;
using System.Text;
using MbUnit.Framework;
using Protocolo;

namespace pruebasunitarias
{
    [TestFixture]
    public class pruebaverficar
    {
        private String pass;
        private String pass2;

        [SetUp]
        public void Init()
        {
            pass = "FkFLf6kqHCP5brvxcb2aTo+Ntgc=";
            
        }

        [Test]
        public void prueba1encriptar()
        {
            pass2 = Protocolo.Encriptar.encriptarSHA1("12jose34");
            Assert.AreEqual(pass,pass2);
        }
        [TearDown]
        public void clean()
        {
            pass = null;
            pass2 = null;
        }
    }
}
